//
//  UIImage+LYAdd.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/25.
//

#import <UIKit/UIKit.h>

@interface UIImage (LYAdd)


/**
 生成高清二维码图片

 @param qrCode 二维码信息字符串
 @param side 二维码变长
 @return 二维码高清图片
 */
+ (UIImage *)qrImageWithString:(NSString *)qrCode
                         side:(CGFloat)side;

/**
 Create and return a 1x1 point size image with the given color.
 
 @param color  The color.
 */
+ (UIImage *)imageWithColor:(UIColor *)color;

/**
 Create and return a pure color image with the given color and size.
 
 @param color  The color.
 @param size   New image's type.
 */
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;


- (UIImage *)imageWithGradientTintColor:(UIColor *)tintColor;

@end
